package com.wkbb.sports.service;

import com.github.pagehelper.PageInfo;
import com.wkbb.common.dto.ResultDTO;
import com.wkbb.common.dto.basic.GradeDto;
import com.wkbb.common.dto.basic.UserDto;
import com.wkbb.sports.dto.*;
import com.wkbb.sports.model.HlifePhysical;

import java.util.List;
import java.util.Map;

/**
 * @author dengjy
 * 创建时间：2021-01-20 15:48
 */
public interface PhysicalService {
    PageInfo<PhysicalDto> getPhysicalPageList(Map<String, Object> params, Integer pageNo, Integer pageSize);

    ResultDTO delPhysical(Map<String, Object> params);

    ResultDTO addPhysical(PhysicalDto physicalDto);

    ResultDTO getPhysicalById(Map<String, Object> params);

    ResultDTO updatePhysical(PhysicalDto physicalDto);

    ResultDTO updatePhysicalState(Long physicalId,Integer state);
    
    void copyRule(Long projectId, long sourceOrg, long targetOrg) throws Exception;
    
    ResultDTO<Map<String,Object>>  saveData(UserDto userDto,Long orgId,List<Object[]> data,Map<String,Object> map,int currentRow);
}
